#@layout()
#define main()
<h1>学生信息管理&nbsp;&nbsp;
<a href="/students/add">添加学生信息</a>
</h1>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="12%">姓名</th>
				<th width="12%">学号</th>
				<th width="12%">性别</th>
				<th width="12%">班级</th>
				<th width="12%">操作</th>
			</tr>
			
			#for(x : studentPage.getList())
			<tr>
				<td style="text-align:left;">#(x.id)</td>
				<td style="text-align:left;">#(x.name)</td>
				<td style="text-align:left;">#(x.number)</td>
				<td style="text-align:left;">#(x.gender)</td>
				<td style="text-align:left;">#(x.className)</td>
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="/students/delete/#(x.id)">删除</a>
					&nbsp;&nbsp;<a href="/students/edit/#(x.id)">修改</a>
				</td>
			</tr>
			#end
		</tbody>
	</table>
	#@paginate(studentPage.pageNumber, studentPage.totalPage, "/students")
</div>
#end